
(function() {
var o=window.HTMLDivElement,m=document.createElement;
window.HTMLElement = function (a,b,c) {alert(1);return o.apply(this,arguments)};
document.createElement.a = [1,2,3];
window.HTMLElement.prototype = function () {
  alert(1,2,3);
}
var aa = new HTMLElement;

aa.innerHTML = '<div>123</div>';
var s,w,p,l=0,u=0;
function n(from,to,speed,chg) {
  var l=to-from,c=0,step=1/speed,ci=step&&setInterval(function() {
     (c<1)?(c+=step)&&chg((c*c-(c/3))*1.5*l+from):clearInterval(ci);
  },13);
}
window.slide = function (a) {
  w|(w=document.getElementById('wrap'));
  n(l,l=-550*a,50,function (a) {
    w.style.left=a+'px';
  });
}
window.progress = function (a) {
  s|(s=document.getElementById('ind'));
  n(u,u=a,50,function (a) {
    s.style.width=a+'%';
  });
}
window.lgnfoc = function (a) {
a.b=(a.b?0:1);
a.className='text'+((!a.b)?' blur':'');
((a.value=='login/email')||(a.value==''))&&(a.b?(a.value=''):(a.value='login/email'));
}
window.pwdfoc = function (a) {
a.b=(a.b?0:1);
a.className='text'+((!a.b)?' blur':'');
((a.value=='password')||(a.value==''))?(a.b?(a.type='password')&&(a.value=''):(a.type='textfield')&&(a.value='password')):(a.type='password');
a.selection=none;
}

})();